{
    "target_defaults": {
        "msvs_configuration_attributes": {
            "CharacterSet": "1",
        }
    },
    "targets": [
        {
            "target_name": "AD-Observer",
            "cflags!": ["-fno-exceptions"],
            "cflags_cc!": ["-fno-exceptions"],
            "sources": [
                "./src/addon.cc",
                "./src/myobject.cc"
            ],
            "include_dirs": [
                "<!@(node -p \"require('node-addon-api').include\")",
                "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.28.29333/atlmfc/include/"
            ],
            "defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"],
            "conditions": [
                ["OS==\"win\"", {
                    "libraries": [
                        "../src/lib/Wldap32.Lib",
                        "comsuppw.Lib",
                        "Wldap32.Lib"
                    ],
                }]
            ]
        }
    ]
}
